/*
 * Copyright (C) 2010-2011 Enrique Lara (enrique.posix2.lara@gmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
 * limitations under the License.
  */
package trs.wmata;

import app.timetogo.R;

import app.timetogo.model.Route;
public enum TrainLine implements Route {
    BLUE(R.string.blue, "BL", R.drawable.blue, R.array.destinations_blue),
    GREEN(R.string.green, "GR", R.drawable.green, R.array.destinations_green),
    ORANGE(R.string.orange, "OR", R.drawable.orange, R.array.destinations_orange),
    RED(R.string.red, "RD", R.drawable.red, R.array.destinations_red),
    YELLOW(R.string.yellow, "YL", R.drawable.yellow, R.array.destinations_yellow),
    UNKNOWN(R.string.unknown, "UNKNOWN", R.drawable.time_to_transit, R.array.destinations_unknown);
    private final int nameId;
    private final String code;
    private final int imageId;
    private final int directionArrayId;

    private TrainLine(final int nameId, final String code, final int imageId, final int directionArrayId) {
        this.nameId = nameId;
        this.code = code;
        this.imageId = imageId;
        this.directionArrayId = directionArrayId;
    }

    public int getNameId() {
        return nameId;
    }

    public String getCode() {
        return code;
    }

    public int getImageId() {
        return imageId;
    }

    public int getDirectionArrayId() {
        return directionArrayId;
    }
}
